<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=
    , initial-scale=1.0">
    <title>常用选择器练习</title>
    <style>
        p{
            color:sandybrown;
            font-size: medium;
        }
        .blue{
            color:blue;
            font-size: small;
        }
        #red{
            color:red;
            font-size:larger;
        }
        /* *{
            color:cornflowerblue;
        } */
    </style>
</head>
<body>
    <p> 我是一个粉刷匠</p>
    <h1>粉刷本领强</h1>
    <h2 id="red">我要把那新房子</h2>
    <h1 class=blue>刷的更漂亮</h1>
    <h2 class="blue">刷了房顶又刷墙</h2>

</body>
</html>